package oa.hleast.xswl.pojo.vo.pms;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: 00209
 * @date: 2021-06-10 14:36:05
 * @description: 优惠券表(PmsCoupon)Vo类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PmsCouponVo {
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("主图")
    private String picUrl;

    @ApiModelProperty("优惠金额")
    private Long price;

    @ApiModelProperty("限定金额")
    private Long limitPrice;

    @ApiModelProperty("优惠券简介")
    private String intro;
    @ApiModelProperty("使用开始时间")
    private Date useStart;

    @ApiModelProperty("使用结束时间")
    private Date useEnd;

    @ApiModelProperty("领取开始时间")
    private Date receiveStart;

    @ApiModelProperty("领取结束时间")
    private Date receiveEnd;

    @ApiModelProperty("发行数量")
    private Long publishNums;

    @ApiModelProperty("领取数量")
    private Long receiveNums;

    @ApiModelProperty("使用数量")
    private Long usedNums;

    @ApiModelProperty("状态：0-下架 1-上架")
    private Integer status;

    @ApiModelProperty("优惠券类型")
    private Integer type;

    @ApiModelProperty("显示顺序")
    private Integer sort;

    private Date gmtCreate;

}
